package cn.itcast.dao;

import cn.itcast.domain.delivery.Order;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface OrderRepository extends JpaRepository<Order,Integer>,JpaSpecificationExecutor<Order> {
    //根据orderNum查询
    Order findByOrderNum(String orderNum);
}
